翻訳と辞書 |
Kernel same-page merging : ウィキペディア英語版 | Kernel same-page merging
Kernel same-page merging (abbreviated to KSM, and also known as ''kernel shared memory'' or ''memory merging'') lets the hypervisor system share identical memory pages amongst different processes or virtualized guests. While not directly linked, KVM can use KSM to merge memory pages occupied by virtual machines. This is done by scanning through the memory finding duplicate pages. The duplicate pair is then merged into a single page, and mapped into both original locations. The page is also marked as "copy-on-write" (COW), so the kernel will automatically separate them again should one process modify its data.〔 KSM was originally intended to run more virtual machines on one host by sharing memory between processes as well as virtual machines. Upon implementation, it was found to be useful for non-virtualized environments as well where memory is at a premium. An experimental implementation of KSM by Red Hat found that 52 virtual instances of Windows XP with 1 GB of memory, could run on a host computer that had only 16 GB of RAM. KSM was merged into the Linux kernel mainline in kernel version 2.6.32, which was released on December 3, 2009.〔〔 To be effective, the operating system kernel must find identical memory pages held by different processes. As well it needs to decide whether the pages are going to update infrequently enough that the merging would be an efficient use of processor resources.〔 A concern is that although memory usage is reduced, CPU usage is increased, thus negating potential increases in performance. Another concern is that KSM may pose security risks, such as allowing circumvention of address space layout randomization (ASLR). ==References==
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Kernel same-page merging」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|